package cn.wolfcode.shop.cloud.member.util;


import cn.wolfcode.shop.cloud.key.KeyPrefix;

public class MemberKeyPrefix implements KeyPrefix {
    private int expireTime;
    private String prefix;

    public MemberKeyPrefix(int expireTime, String prefix) {
        this.expireTime = expireTime;
        this.prefix = prefix;
    }


    public String getPreix() {
        return this.prefix;
    }


    public int getExpireTime() {
        return this.expireTime;
    }


    public static final MemberKeyPrefix USER_TOKEN = new MemberKeyPrefix(1800,"usertoken");
}
